<div class="gen-form">
<fieldset>
    <legend>Issue Details</legend>
<div id="left-form">
    <h3><i><%= h @issue.project_key + "-" + @issue.id.to_s %>&nbsp;-&nbsp;<%= h @issue.title %></i></h3>

    <b>Status:</b>&nbsp;<%= h @issue.status %><br />
    <b>Issue Type:</b>&nbsp;<%= h @issue.issue_type %><br />
    <b>Component:</b>&nbsp;<%= h @issue.component %><br />&nbsp;<br />

    <b>Version:</b>&nbsp;<%= h @issue.version %><br />
    
</div>
<div id="right-form">
    <b>Created:</b>&nbsp;<%= h @issue.create_date %><br />
    <b>Updated:</b>&nbsp;<%= h @issue.update_date %><br />
    <b>Due:</b>&nbsp;<%= h @issue.due_date %><br />
    <b>Complete:</b>&nbsp;<%= h @issue.complete_date %><br />
    <b>IsComplete:</b>&nbsp;<%= h @issue.complete %><br />
</div>
</div>

</fieldset>
<p></p>
<div class="gen-form">
    <fieldset>
        <legend>Description</legend>
        <i><%= h @issue.description %></i><br />
    </fieldset>
</div>
<p></p>
<%= link_to 'Edit', :action => 'edit', :id => @issue %> |
<%= link_to 'Back', :action => 'list' %>

<p></p>

<%= form_tag :action => "comment", :id => @issue %>
    <p>
        <%= text_area 'comment', 'comment' %>
    </p>
    <%= submit_tag "comment" %>
</form>

<h3>Comment History</h3>
<% for issue_comment in @issue.issue_comments %>
<%= issue_comment.comment %>
<div id="comment-footer"><%= issue_comment.create_date %></div>
<hr/>
<% end %>
